ComponentOne Xamarin.Android
MoveAsync Method (C1HierarchicalCollectionView<T>)


C1.CollectionView Assembly > C1.CollectionView Namespace > C1HierarchicalCollectionView<T> Class : MoveAsync Method
From index.
To index.
Moves an item from the specified fromIndex to toIndex.
Syntax
'Declaration
 
<AsyncStateMachineAttribute(C1.CollectionView.C1HierarchicalCollectionView`1/d__33)> 
Public Overridable Function MoveAsync( _ 
   ByVal fromIndex As Integer, _ 
   ByVal toIndex As Integer _ 
) As Task
'Usage
 
Dim instance As C1HierarchicalCollectionView(Of T)
Dim fromIndex As Integer
Dim toIndex As Integer
Dim value As Task
 
value = instance.MoveAsync(fromIndex, toIndex)
[AsyncStateMachine(C1.CollectionView.C1HierarchicalCollectionView`1/d__33)] 
public virtual Task MoveAsync( 
   int fromIndex, 
   int toIndex 
)

Parameters

fromIndex
From index.
toIndex
To index.
See Also

Reference

C1HierarchicalCollectionView<T> Class
C1HierarchicalCollectionView<T> Members